<?php
/*
	Travel Theme's Front Page to Display the Home Page if Selected
	Copyright: 2013, D5 Creation, www.d5creation.com
	Based on the Simplest D5 Framework for WordPress
	Since travel 1.0
*/
?>

<?php get_header(); ?>
<div id="slide-container">
<?php if ( ! dynamic_sidebar( 'sidebar-frontpage' ) ) : ?>

				<aside id="archives" class="widget">
					<h3 class="widget-title">Archives</h3>
					<ul>
						<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
					</ul>
				</aside>

				<aside id="meta" class="widget">
					<h3 class="widget-title">Meta</h3>
					<ul>
						<?php wp_register(); ?>
						<li><?php wp_loginout(); ?></li>
						<?php wp_meta(); ?>
					</ul>
				</aside>

<?php endif; // end sidebar widget area ?>
</div>
</div><div class="vspace"> </div>
<div class="label-text"><h3><?php echo of_get_option('fpheading', 'Test Place, Sample Country'); ?></h3></div>
<div id="container">
<?php get_template_part( 'featured-box' ); ?> 
<?php if (of_get_option('fpostex', '1') != '1'): get_template_part( 'fcontent' ); endif;?>
<div class="content-ver-sep"></div>
</div>
<div class="rectent-news" id="container">
	<?php if ( ! dynamic_sidebar( 'sidebar-recentnews' ) ) : ?>

				<aside id="archives" class="widget">
					<h3 class="widget-title">Archives</h3>
					<ul>
						<?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
					</ul>
				</aside>

				<aside id="meta" class="widget">
					<h3 class="widget-title">Meta</h3>
					<ul>
						<?php wp_register(); ?>
						<li><?php wp_loginout(); ?></li>
						<?php wp_meta(); ?>
					</ul>
				</aside>

<?php endif; // end sidebar widget area ?>
</div>
<?php get_footer(); ?>